package ink.xiaobaibai.serviceOxy.onePay;

import ink.xiaobaibai.entity.OzoneDevice;
import ink.xiaobaibai.vo.DeviceByGeoVo;

import java.util.List;

/**
 * @description: 机器地址查询接口
 * @author: 小白白
 * @create: 2021-05-22
 **/

public interface IGeoDeviceService {

    /**
     * 增加机器位置信息
     */
    public void addDevice(OzoneDevice ozoneDevice);

    /**
     * 修改机器位置信息
     */
    public void updateDevice(OzoneDevice ozoneDevice);

    /**
     * 删除机器位置信息
     */
    public void deleteDevice(OzoneDevice ozoneDevice);

    /**
     * 查询周围机器信息
     */
    public List<DeviceByGeoVo> getDeviceListNearbyGeo(Double lng, Double lat, Double kmLength);

}
